# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=qdjango
pkgver=0.6.2
pkgrel=0
pkgdesc="Qt-based C++ web framework"
url="https://github.com/jlaine/qdjango"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtdeclarative-dev"
makedepends="
	$depends_dev
	doxygen
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/jlaine/qdjango/archive/v$pkgver.tar.gz
	no_docs_tests.patch
	"
subpackages="$pkgname-dev"

build() {
	qmake-qt5 PREFIX=/usr
	make
}

check() {
	make check
}

package() {
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="
0280b09f0740ca7e70f62e36ea9e5bb648fe6d3ba1492e59f8c956df163c6db2338ea735e0b7937ee6e417f503a510eedf983ec6dc9744021a0c83a9432aa33f  qdjango-0.6.2.tar.gz
4c18534ded97db3793679f46828ad212105db4fa4018def98157ce12579245a9feecd7570ef3c958c59dd4bd9e9dc6d5b09070bd8ce4f5872784cb7f60b402e5  no_docs_tests.patch
"
